package com.example.yucheng.util;

public enum ResultMsgEnum {
    SUCCESS(200,"成功"),
    FAIL(400,"失败"),
    NOT_AUTH(401,"未授权");


    private int code;
    private String message;

    ResultMsgEnum(int code, String message){
        this.code=code;
        this.message=message;
    }

    public int getCode(){return code;}
    public String getMessage(){return message;}
}
